package sec_pages;


import org.openqa.selenium.WebElement;
import utils.Log4Test;

public class SearchPage extends SecGeneralPage {

    public WebElement verifySearchPageContainSearchItem() {

        Log4Test.info("Verify  - Sony Xperia Z2 D6502 Black is found");

        return elementIsLocated(getLocator("searchItemSonyXperiaZ2D6502"));

    }

    public void openLinkSonyXperiaZ2D6502Black() {

        elementIsLocated(getLocator("LinkSonyXperia")).click();

        Log4Test.info("open Link Sony Xperia Z2D6502 Black");
    }
}
